package com.sun.start;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.sun.client.VersionClient;

public class LogParseClientStart {

	public static void main(String[] args) throws InterruptedException {
		
		ApplicationContext factory=new  ClassPathXmlApplicationContext("classpath:spring/Spring-Client-Config.xml");
		VersionClient version = (VersionClient)factory.getBean("versionGetClient");
		version.sentData();
	}
}
